package com.ruoyi.transaction.mapper;

import java.util.List;
import com.ruoyi.common.entity.TransactionEntity.YZMOrderAfterSales;
import org.apache.ibatis.annotations.Mapper;

/**
 * 订单售后申请Mapper接口
 *
 * @author yzm
 * @date 2025-08-09
 */
@Mapper
public interface YZMOrderAfterSalesMapper
{
    /**
     * 查询订单售后申请
     *
     * @param id 订单售后申请主键
     * @return 订单售后申请
     */
    public YZMOrderAfterSales selectYZMOrderAfterSalesById(Long id);

    /**
     * 查询订单售后申请列表
     *
     * @param yZMOrderAfterSales 订单售后申请
     * @return 订单售后申请集合
     */
    public List<YZMOrderAfterSales> selectYZMOrderAfterSalesList(YZMOrderAfterSales yZMOrderAfterSales);

    /**
     * 新增订单售后申请
     *
     * @param yZMOrderAfterSales 订单售后申请
     * @return 结果
     */
    public int insertYZMOrderAfterSales(YZMOrderAfterSales yZMOrderAfterSales);

    /**
     * 修改订单售后申请
     *
     * @param yZMOrderAfterSales 订单售后申请
     * @return 结果
     */
    public int updateYZMOrderAfterSales(YZMOrderAfterSales yZMOrderAfterSales);

    /**
     * 删除订单售后申请
     *
     * @param id 订单售后申请主键
     * @return 结果
     */
    public int deleteYZMOrderAfterSalesById(Long id);

    /**
     * 批量删除订单售后申请
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteYZMOrderAfterSalesByIds(Long[] ids);
}
